package cn.cloud.all.ribbon.rule;

import cn.cloud.all.ribbon.server.Server;
import cn.cloud.all.ribbon.loadbalancer.ILoadBalancer;

public interface IRule {

    Server choose(Object key);

    void setLoadBalancer(ILoadBalancer lb);

    ILoadBalancer getLoadBalancer();
}
